package com.zl.credit.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author anonymous
 * @since 2020-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("CREDIT_PROGRESS")
public class CreditProgress implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("CP_ID")
    private Long cpId;

    @TableField("CP_NAME")
    private String cpName;

    @TableField("CUM_ID")
    private String cumId;

    @TableField("CMP_ID")
    private String cmpId;

    @TableField("CON_ID")
    private String conId;

    @TableField("APPLY_TIME")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date applyTime;

    @TableField("AUDIT_STATUS")
    private String auditStatus;
    @TableField("audit_progress")
    private String auditProgress;
    @TableField("RIGHTS")
    private Integer rights;

    @TableField("ID_CARD")
    private String idCard;

    @TableField("CREDIT_POINTS")
    private Integer creditPoints;

}
